﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DeaprtEdit.aspx.cs" Inherits="HQWeb.SysManage.DepatmentManage.DeaprtEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>部门信息维护</title>
    <link href="../../Styles/Site.css" rel="Stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table align="center" width="98%">
            <tr>
                <td colspan="4" class="title">
                    部门信息维护
                </td>
            </tr>
            <tr>
                <td align="right">
                    上级部门：
                </td>
                <td>
                    <asp:DropDownList ID="PID" runat="server" Width="156px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
                    部门名称：
                </td>
                <td class="content">
                    <asp:TextBox ID="TRADE_NAME" runat="server" MaxLength="50" ToolTip="部门名称不超过50个字符"
                        Width="200px"></asp:TextBox><span style="color: Red">*</span><asp:RequiredFieldValidator
                            ID="RequiredFieldValidator1" runat="server" ErrorMessage="部门名称不能为空！" ControlToValidate="TRADE_NAME"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right">
                    部门描述：
                </td>
                <td>
                    <asp:TextBox ID="txtDescrip" runat="server" MaxLength="100" TextMode="MultiLine"
                        Height="28px" Width="50%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
                <td>
                    <asp:Button ID="btnSend" runat="server" Text="提 交" OnClick="btnSend_Click" />&nbsp;
                    <input id="btnCalcel" value="返 回" type="button" onclick="location='DephartList.aspx?pid=' + document.getElementById('txtPIdHid').value" />
                    <asp:TextBox ID="txtIdHid" runat="server" Style="visibility: hidden"></asp:TextBox><!--传递唯一标识-->
                    <asp:TextBox ID="txtPIdHid" runat="server" Style="visibility: hidden"></asp:TextBox><!--传递上级记录标识-->
                    <asp:TextBox ID="txtSign" runat="server" Style="visibility: hidden"></asp:TextBox><!--传递操作-->
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
